<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<form action="${ctx}/symptom/sumbit.do" method="post">
<fieldset><legend>身体特征</legend>
<table class="list">
	<tr>
		<td class="head" nowrap="nowrap" rowspan="2">基本情况</td>
		<td colspan="2" class="left">身高：<input name="height" type="text"
			class="short" value="${patient.symptom.basic.height}" />cm&nbsp;&nbsp;体重：<input
			name="weight" type="text" class="short"
			value="${patient.symptom.basic.weight}" />KG&nbsp;&nbsp;腰围：<input
			name="waist" type="text" class="short"
			value="${patient.symptom.basic.waist}" />cm</td>
	</tr>
	<tr>
		<td colspan="2" class="left">心率：<input name="heartRate"
			type="text" class="short" value="${patient.symptom.basic.heartRate}" />次/分&nbsp;&nbsp;血压：<input
			name="pressure" type="text" class="short"
			value="${patient.symptom.basic.pressure}" />mmHg&nbsp;&nbsp;体温：<input
			name="temperature" type="text" class="short"
			value="${patient.symptom.basic.temperature}" />℃</td>
	</tr>
	<tr>
		<td class="head">生活状态</td>
		<td colspan="2" class="left"><input name="isOverDrink"
			type="checkbox" class="checkbox" />多饮&nbsp;&nbsp;<input
			name="isOverEat" type="checkbox" class="checkbox" />多食&nbsp;&nbsp;<input
			name="isDiuresis" type="checkbox" class="checkbox" />多尿&nbsp;&nbsp;<input
			name="isLossWeight" type="checkbox" class="checkbox" />体重减轻&nbsp;&nbsp;原体重：<input
			name="originWeight" type="text" class="short" />KG</td>
	</tr>
	<tr>
		<td class="head" rowspan="2">生活习惯</td>
		<td colspan="2" class="left"><input name="isTired"
			type="checkbox" class="checkbox" />乏力&nbsp;&nbsp;<input
			name="isSweat" type="checkbox" class="checkbox" />自汗&nbsp;&nbsp;<input
			name="isNightSweat" type="checkbox" />盗汗&nbsp;&nbsp;<input
			name="isSleeplessness" type="checkbox" />睡眠差&nbsp;&nbsp;<input
			name="isTemper" type="checkbox" />情绪</td>
	</tr>
	<tr>
		<td colspan="2" class="left"><input name="isAlcohol"
			type="checkbox" />饮酒&nbsp;&nbsp;<input name="isSmoke"
			type="checkbox" />吸烟&nbsp;&nbsp;<input name="isDrink"
			type="checkbox" />饮料&nbsp;&nbsp;<input name="isMahjong"
			type="checkbox" />打麻将&nbsp;&nbsp;<input name="isComputer"
			type="checkbox" />电脑</td>
	</tr>
	<tr>
		<td class="head">头面</td>
		<td colspan="2" class="left"><input name="isChevelure"
			type="checkbox" />头发干枯&nbsp;&nbsp;<input name="isAlopecia"
			type="checkbox" />脱发&nbsp;&nbsp;<input name="isEdema"
			type="checkbox" />颜面浮肿&nbsp;&nbsp;<input name="isWhite"
			type="checkbox" />颜面淡白</td>
	</tr>
	<tr>
		<td class="head">舌象</td>
		<td colspan="2" class="left">舌体：<input name="tongueBody"
			type="text" class="short" />&nbsp;&nbsp;舌质：<input
			name="tongueQuality" type="text" class="short" />&nbsp;&nbsp;舌苔质：<input
			name="furQuality" type="text" class="short" />&nbsp;&nbsp;舌苔色：<input
			name="furColor" type="text" class="short" /></td>
	</tr>
	<tr>
		<td class="head" rowspan="2">眼部</td>
		<td colspan="2" class="left"><input name="isVisionDecrease"
			type="checkbox" />视力下降&nbsp;&nbsp;<input name="isDrily"
			type="checkbox" />眼睛干涩&nbsp;&nbsp; <input name="isVague"
			type="checkbox" />模糊&nbsp;&nbsp;<input name="isPointBlood"
			type="checkbox" />眼底点状出血&nbsp;&nbsp;<input name="isFlakeBlood"
			type="checkbox" />眼底片状出血</td>
	</tr>
	<tr>
		<td colspan="2" class="left">视力右：<input name="rightVision"
			type="text" class="short" />&nbsp;&nbsp;视力左：<input name="leftVision"
			type="text" class="short" />&nbsp;&nbsp;白内障：<input name="cataract"
			type="text" class="short" /></td>
	</tr>
	<tr>
		<td class="head" rowspan="2">四肢</td>
		<td class="head" nowrap="nowrap">手指</td>
		<td class="left"><input name="isFingerNumb" type="checkbox" />麻木&nbsp;&nbsp;<input
			name="isFingerDistend" type="checkbox" />胀&nbsp;&nbsp;<input
			name="isFingerHurt" type="checkbox" />痛&nbsp;&nbsp;</td>
	</tr>
	<tr>
		<td class="head">脚趾</td>
		<td class="left"><input name="isToeNumb" type="checkbox" />麻木&nbsp;&nbsp;<input
			name="isToeDistend" type="checkbox" />胀&nbsp;&nbsp;<input
			name="isToeHurt" type="checkbox" />痛&nbsp;&nbsp;<input
			name="isHeelHurt" type="checkbox" />脚跟痛&nbsp;&nbsp; <input
			name="isHeelCotton" type="checkbox" />脚底踩棉花感&nbsp;&nbsp;<input
			name="isLackToe" type="checkbox" />缺趾&nbsp;&nbsp;<input
			name="isAmputation" type="checkbox" />截肢&nbsp;&nbsp;</td>
	</tr>
	<tr>
		<td class="head" rowspan="2">二便</td>
		<td class="head" class="left">大便</td>
		<td class="left">干<input name="dryFeces" type="text"
			class="short" />天&nbsp;&nbsp;稀<input name="wetFeces" type="text"
			class="short" />天</td>
	</tr>
	<tr>
		<td class="head" class="left">小便</td>
		<td class="left">频<input name="frequencyUrine" type="text"
			class="short" />次&nbsp;&nbsp;起夜<input name="nightUrine" type="text"
			class="short" />次&nbsp;&nbsp;<input name="isFoam" type="checkbox"
			class="checkbox" />泡沫&nbsp;&nbsp;<input name="isHurt"
			type="checkbox" class="checkbox" />痛&nbsp;&nbsp;<input
			name="isMuddy" type="checkbox" class="checkbox" />白浊</td>
	</tr>
	<tr>
		<td class="head" rowspan="3">其他疾病</td>
		<td colspan="2" class="left"><input name="isCoronaryHeart"
			type="checkbox" />冠心病&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input
			name="isCerebrovascular" type="checkbox" />脑血管病变&nbsp;&nbsp;<input
			name="isTuberculosis" type="checkbox" />肺结核&nbsp;&nbsp;<input
			name="isHyperlipemia" type="checkbox" />高血脂&nbsp;&nbsp;<input
			name="isKidneyBroke" type="checkbox" />肾损害&nbsp;&nbsp;</td>
	</tr>
	<tr>
		<td colspan="6" class="left"><input name="isLimbUlcer"
			type="checkbox" />下肢溃疡&nbsp;&nbsp;<input name="isUrinaryInfect"
			type="checkbox" />泌尿系感染&nbsp;&nbsp;<input name="isPancreatitis"
			type="checkbox" />胰腺炎&nbsp;&nbsp;<input name="isFattyLiver"
			type="checkbox" />脂肪肝&nbsp;&nbsp;<input name="isGallstone"
			type="checkbox" />胆结石</td>
	</tr>
	<tr>
		<td colspan="6" class="left"><input name="isHepatitisA"
			type="checkbox" />甲型肝炎&nbsp;&nbsp;<input name="isHepatitisB"
			type="checkbox" />乙型肝炎</td>
	</tr>
</table>
</fieldset>
<div style="text-align: center;"><input type="submit"
	value="确&nbsp;&nbsp;&nbsp;定" class="submit" />&nbsp;&nbsp;<input
	type="reset" value="重&nbsp;&nbsp;&nbsp;置" class="reset"></div>
</form>
<script type="text/javascript">
	//condition
	$("input[name='isOverDrink']").attr("checked",
			'${patient.symptom.condition.isOverDrink}');
	$("input[name='isOverEat']").attr("checked",
			'${patient.symptom.condition.isOverEat}');
	$("input[name='isDiuresis']").attr("checked",
			'${patient.symptom.condition.isDiuresis}');
	$("input[name='isLossWeight']").attr("checked",
			'${patient.symptom.condition.isLossWeight}');
	//habit
	$("input[name='isTired']").attr("checked",
			'${patient.symptom.habit.isTired}');
	$("input[name='isSweat']").attr("checked",
			'${patient.symptom.habit.isSweat}');
	$("input[name='isNightSweat']").attr("checked",
			'${patient.symptom.habit.isNightSweat}');
	$("input[name='isSleeplessness']").attr("checked",
			'${patient.symptom.habit.isSleeplessness}');
	$("input[name='isTemper']").attr("checked",
			'${patient.symptom.habit.isTemper}');
	$("input[name='isAlcohol']").attr("checked",
			'${patient.symptom.habit.isAlcohol}');
	$("input[name='isSmoke']").attr("checked",
			'${patient.symptom.habit.isSmoke}');
	$("input[name='isDrink']").attr("checked",
			'${patient.symptom.habit.isDrink}');
	$("input[name='isMahjong']").attr("checked",
			'${patient.symptom.habit.isMahjong}');
	$("input[name='isComputer']").attr("checked",
			'${patient.symptom.habit.isComputer}');
	//head
	$("input[name='isChevelure']").attr("checked",
			'${patient.symptom.head.isChevelure}');
	$("input[name='isAlopecia']").attr("checked",
			'${patient.symptom.head.isAlopecia}');
	$("input[name='isEdema']").attr("checked",
			'${patient.symptom.head.isEdema}');
	$("input[name='isWhite']").attr("checked",
			'${patient.symptom.head.isWhite}');
	//eye
	$("input[name='isVisionDecrease']").attr("checked",
			'${patient.symptom.eye.isVisionDecrease}');
	$("input[name='isDrily']")
			.attr("checked", '${patient.symptom.eye.isDrily}');
	$("input[name='isVague']")
			.attr("checked", '${patient.symptom.eye.isVague}');
	$("input[name='isPointBlood']").attr("checked",
			'${patient.symptom.eye.isPointBlood}');
	$("input[name='isFlakeBlood']").attr("checked",
			'${patient.symptom.eye.isFlakeBlood}');

	//limb
	$("input[name='isFingerNumb']").attr("checked",
			'${patient.symptom.limb.isFingerNumb}');
	$("input[name='isFingerDistend']").attr("checked",
			'${patient.symptom.limb.isFingerDistend}');
	$("input[name='isFingerHurt']").attr("checked",
			'${patient.symptom.limb.isFingerHurt}');
	$("input[name='isToeNumb']").attr("checked",
			'${patient.symptom.limb.isToeNumb}');
	$("input[name='isToeDistend']").attr("checked",
			'${patient.symptom.limb.isToeDistend}');
	$("input[name='isToeHurt']").attr("checked",
			'${patient.symptom.limb.isToeHurt}');
	$("input[name='isHeelHurt']").attr("checked",
			'${patient.symptom.limb.isHeelHurt}');
	$("input[name='isHeelCotton']").attr("checked",
			'${patient.symptom.limb.isHeelCotton}');
	$("input[name='isLackToe']").attr("checked",
			'${patient.symptom.limb.isLackToe}');
	$("input[name='isAmputation']").attr("checked",
			'${patient.symptom.limb.isAmputation}');
	//excreta
	$("input[name='isFoam']").attr("checked",
			'${patient.symptom.excreta.isFoam}');
	$("input[name='isHurt']").attr("checked",
			'${patient.symptom.excreta.isHurt}');
	$("input[name='isMuddy']").attr("checked",
			'${patient.symptom.excreta.isMuddy}');
	//disease
	$("input[name='isCoronaryHeart']").attr("checked",
			'${patient.symptom.disease.isCoronaryHeart}');
	$("input[name='isCerebrovascular']").attr("checked",
			'${patient.symptom.disease.isCerebrovascular}');
	$("input[name='isTuberculosis']").attr("checked",
			'${patient.symptom.disease.isTuberculosis}');
	$("input[name='isHyperlipemia']").attr("checked",
			'${patient.symptom.disease.isHyperlipemia}');
	$("input[name='isKidneyBroke']").attr("checked",
			'${patient.symptom.disease.isKidneyBroke}');
	$("input[name='isLimbUlcer']").attr("checked",
			'${patient.symptom.disease.isLimbUlcer}');
	$("input[name='isUrinaryInfect']").attr("checked",
			'${patient.symptom.disease.isUrinaryInfect}');
	$("input[name='isPancreatitis']").attr("checked",
			'${patient.symptom.disease.isPancreatitis}');
	$("input[name='isFattyLiver']").attr("checked",
			'${patient.symptom.disease.isFattyLiver}');
	$("input[name='isGallstone']").attr("checked",
			'${patient.symptom.disease.isGallstone}');
	$("input[name='isHepatitisA']").attr("checked",
			'${patient.symptom.disease.isHepatitisA}');
	$("input[name='isHepatitisB']").attr("checked",
			'${patient.symptom.disease.isHepatitisB}');
</script>
